//
//  Teacher.m
//  clase
//
//  Created by likexian on 16-4-13.
//  Copyright (c) 2016年 ZF. All rights reserved.
//

#import "Teacher.h"

@implementation Teacher


-(void)CheckHomework
{
    [self.delegate HandMathHomeWork:@"小明"];
    
    [self.delegate HandEnglishHomeWork:@"小红"];

    if([self.delegate respondsToSelector:@selector(DontHand:)])//respondsToSelector:@selector()判断是否有以某个名字命名的方法(被封装在一个selector的对象里传递)
    {
        [self.delegate DontHand:@"小刚"];
    
    }
}

@end
